{template header}

<div class="midder">

<div class="mc">
<div class="bbox">
<h1>修改商品</h1>

<div class="bc">
<form method="post" action="{SITE_URL}index.php?app=redeem&ac=edit&ts=do" enctype="multipart/form-data">
<table>
<tr><td>名称：</td><td><input style="width:600px;" type="text" name="title" value="{$strGoods['title']}" /></td></tr>
<tr><td>分类：</td><td>

<select name="cateid">
<option value="0">无分类</option>
</select>

</td></tr>
<tr><td valign="top">内容：</td><td>

<textarea style="width:600px;" name="content" id="tseditor">
{$strGoods['content']}
</textarea>

</td></tr>

<tr><td>兑换数量：</td><td><input type="text" name="nums" value="{$strGoods['nums']}" /></td></tr>

<tr><td>需要积分：</td><td><input type="text" name="scores" value="{$strGoods['scores']}" /></td></tr>

<tr><td>返还积分：</td><td><input type="text" name="return" value="{$strGoods['return']}" /></td></tr>



<tr><td>图片：</td><td>
{if $strGoods['photo']}
<img src="{php echo tsXimg($strGoods['photo'],'redeem','300','',$strGoods['path'])}" alt="{$strGoods['title']}" />
<br />
{/if}
<input type="file" name="photo" /></td></tr>
<tr><td></td><td></td></tr>
<tr><td></td><td>
<input type="hidden" name="goodsid" value="{$strGoods['goodsid']}" />
<input class="btn btn-success" type="submit" value="修改" />

</td></tr>
</table>
</form>
</div>
</div>
</div>

</div>
{php doAction('tseditor')}
{template footer}